package cn.xl.xxl.tools;

import com.woke.method.MyApp;




public class FileManager {

	public static String getSaveFilePath() {
		
		if (CommonUtil.hasSDCard()) {
			return CommonUtil.getRootFilePath() + AppConstants.MYAPPPACKAGE_NAMES+"/files/";
		} else {
			return CommonUtil.getRootFilePath() + MyApp.getInstance().getPackageName()+"/files";
		}
	}
	
	public static String getSaveUserPath() {
		
		if (CommonUtil.hasSDCard()) {
			return CommonUtil.getRootFilePath() + AppConstants.MYAPPPACKAGE_NAMES+"/userInfo/";
		} else {
			return CommonUtil.getRootFilePath() + MyApp.getInstance().getPackageName()+"/userInfo";
		}
	}
	
}
